<?php
namespace app\admin\validate;

use think\Validate;

class WithdrawalValidate extends Validate
{
    protected $rule = [
        'uid'            => 'require',
        'w_name'         => 'require',
        'w_tel'          => 'require',
        'w_amount'       => 'require',
        'w_account'      => 'require',
        'w_status'       => 'require',
        'w_time'         => 'require',
        'addtime'        => 'require'
    ];

    protected $message = [
        'uid.require'        => '请选择会员',
        'w_name.require'     => '收款人姓名不能为空',
        'w_tel.require'      => '收款人手机号码不能为空',
        'w_amount.require'   => '提现金额不能为空',
        'w_account.require'  => '收款人账号不能为空',
        'w_status.require'   => '请选择提现状态',
        'w_time.require'     => '打款时间不能为空',
        'addtime.require'    => '会员提交时间不能为空'
    ];
}